package com.apple.bean;

public class Account {
	private String name;
	private String password;
	private Person person;
	private Preferences preferences;
	private Security security;
	
	public Account(String name, Person person) {
		this.name = name;
		this.person = person;
	}
	public Account(String name, String password, Person person,
			Preferences preferences, Security security) {
		this.name = name;
		this.password = password;
		this.person = person;
		this.preferences = preferences;
		this.security = security;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Person getPerson() {
		return person;
	}
	public void setPerson(Person person) {
		this.person = person;
	}
	public Preferences getPreferences() {
		return preferences;
	}
	public void setPreferences(Preferences preferences) {
		this.preferences = preferences;
	}
	public Security getSecurity() {
		return security;
	}
	public void setSecurity(Security security) {
		this.security = security;
	}
	
}
